Total Complexity | 51 |
Dependencies | 15 |
Dependents | 22 |
Total lines | 346 |
Lines of code | 182 |
Logical lines of code | 122 |
Comment lines | 63 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getWcProduct() | 49 | 9 | 31 | |
calcHashProcessedProduct() | 52 | 9 | 23 | |
loadRules() | 50 | 6 | 29 | |
loadVariationsPostMeta() | 59 | 4 | 15 | |
loadActiveRules() | 58 | 3 | 15 | |
getVariationProductData() | 59 | 3 | 15 | |
addProcessedProductToDisplay() | 62 | 3 | 10 | |
flushRulesCache() | 63 | 2 | 11 | |
flush() | 71 | 2 | 6 | |
cacheGet() | 69 | 2 | 6 | |
cacheSet() | 69 | 2 | 6 | |
addRulesToCache() | 72 | 2 | 5 | |
getVariationProductMeta() | 75 | 2 | 4 | |
maybeGetProcessedProductToDisplay() | 68 | 2 | 6 |